package com.qy.service;

import com.qy.model.Evaluation;
import com.qy.model.Unit;
import com.qy.base.core.Service;

import java.util.List;
import java.util.Map;


/**
 * Created by zaq on 2018/07/10.
 */
public interface UnitService extends Service<Unit> {
    public List<Unit> selectAllUnit(Unit unit);

    public List<Unit> selectUnitById(Unit unit);

    public List<Map> unitList(Unit unit);

    public void updateUnit(Unit unit);

    public void deleteUnit(Unit unit);

    public void unitState(Unit unit);

    public List<Unit> selectUnitByName(Unit unit);

    public List<Map<String, Object>> selectByClueId(Integer clue_id);

    public List<Unit> selectUnitListByProvince(Evaluation evaluation);

    public List<Map> selectUnitName();

    public List<Map> selectVagueUnitName(String unit_name);
}
